package dmwr.bean;

public class Player {

	private Long id;
	private String username;
	private Long poolId;
	private Long position;

	public Player() {
	}

	public Player(Long id, String username, Long poolId, Long position) {
		this.id = id;
		this.username = username;
		this.poolId = poolId;
		this.position = position;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Long getPoolId() {
		return poolId;
	}

	public void setPoolId(Long poolId) {
		this.poolId = poolId;
	}

	public Long getPosition() {
		return position;
	}

	public void setPosition(Long position) {
		this.position = position;
	}

	@Override
	public String toString() {
		return "Player(id=" + id + "poolId=" + poolId + ",username=" + username
				+ ",position=" + position + ")";
	}
}
